class QuantityCommissionPolicy extends CommissionPolicy{
    BigDecimal unitCommission

    String toString(){
        return "个数提成--$name"
    }

    public BigDecimal calculateCommission(JobItem jobItem) {
        return (unitCommission*jobItem.quantity).setScale(2);
    }

}
